// 用于存储token等处理

export function setTokena (value, key = 'token') {
  window.localStorage.setItem(key, value)
  console.log(value, key)
}
// 获取
export function getTokena (key = 'token') {
  return window.localStorage.getItem(key)
}
// 删除
export function removetokena (key = 'token') {
  window.localStorage.removeItem(key)
}
